﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace CKS2320.Domain.DBEntity
{
    [Table("Op30coredata")]
    public partial class Op30coredata
    {
        [Key]
        public long Id { get; set; }
        /// <summary>
        /// 二维码
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime? TestTime { get; set; }
        /// <summary>
        /// 通道信息
        /// </summary>
        public string? Passageway { get; set; }
        /// <summary>
        /// 立面拱曲度
        /// </summary>
        public float? FacadeCamber { get; set; }
        /// <summary>
        /// 拱曲度结果判定
        /// </summary>
        public string? CamberJudge { get; set; }
        /// <summary>
        /// camberUnit单位
        /// </summary>
        public string? CamberUnit { get; set; } = "mm";
        /// <summary>
        /// 背面波间距
        /// </summary>
        public float? BackScallop2Pitch { get; set; }
        /// <summary>
        /// 背面波直径
        /// </summary>
        public float? BackScallop2Diameter { get; set; }
        /// <summary>
        /// 背面波间距
        /// </summary>
        public float? BackScallop3Pitch { get; set; }
        /// <summary>
        /// 背面波直径
        /// </summary>
        public float? BackScallop3Diameter { get; set; }
        /// <summary>
        /// 背面波间距
        /// </summary>
        public float? FrontScallop2Pitch { get; set; }
        /// <summary>
        /// 背面波直径
        /// </summary>
        public float? FrontScallop2Diameter { get; set; }
        /// <summary>
        /// 背面波间距
        /// </summary>
        public float? FrontScallop3Pitch { get; set; }
        /// <summary>
        /// 背面波直径
        /// </summary>
        public float? FrontScallop3Diameter { get; set; }
        /// <summary>
        /// 膜厚最大值
        /// </summary>
        public float? MaxThickness { get; set; }
        /// <summary>
        /// 膜厚最大值判定
        /// </summary>
        public string? MaxThicknessJudge { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? MaxThicknessUnit { get; set; } = "mm";
        /// <summary>
        /// 膜厚最小值
        /// </summary>
        public float? MiniThickness { get; set; }
        /// <summary>
        /// 膜厚最小值判定
        /// </summary>
        public string? MiniThicknessJudge { get; set; }
        /// <summary>
        /// 最小值单位
        /// </summary>
        public string? MiniThicknessUnit { get; set; } = "mm";
        /// <summary>
        /// 非正面（二维码面）膜厚最大值
        /// </summary>
        public float? NonPositiveMaxThickness { get; set; }
        /// <summary>
        /// 非正面（二维码面）膜厚最大值判定
        /// </summary>
        public string? NonPositiveMaxThicknessJudge { get; set; }
        /// <summary>
        /// 非正面（二维码）最大值单位
        /// </summary>
        public string? NonPositiveMaxThicknessUnit { get; set; } = "mm";
        /// <summary>
        /// 非正面（二维码）膜厚最小值
        /// </summary>
        public float? NonPositiveMiniThickness { get; set; }
        /// <summary>
        /// 非正面（二维码）膜厚最小值判定
        /// </summary>
        public string? NonPositiveMiniThicknessJudge { get; set; }
        /// <summary>
        /// 非正面（二维码）最小值单位
        /// </summary>
        public string? NonPositiveMiniThicknessUnit { get; set; } = "mm";
        /// <summary>
        /// OP30最总判定=camber结果，上膜厚判定=
        /// </summary>
        public string? FinalJudge { get; set; }
        /// <summary>
        /// 正面barb到第一个波谷的距离
        /// </summary>
        public float? sc01 { get; set; }
        public string? sc01Unit { get; set; } = "mm";
        public string? sc01judge { get; set; }
        /// <summary>
        /// 正面最后一个波谷到barb
        /// </summary>
        public float? sc02 { get; set; }
        public string? sc02Unit { get; set; } = "mm";
        public string? sc02judge { get; set; }
        /// <summary>
        /// 背面barb到第一个波谷的距离
        /// </summary>
        public float? sc03 { get; set; }
        public string? sc03Unit { get; set; } = "mm";
        public string? sc03judge { get; set; }
        /// <summary>
        /// 背面最后一个波谷到barb
        /// </summary>
        public float? sc04 { get; set; }
        public string? sc04Unit { get; set; } = "mm";
        public string? sc04judge { get; set; }
        /// <summary>
        /// 小末端方向检查结果
        /// </summary>
        public string? sedJudge { get; set; }
        /// <summary>
        /// 边距离总结过
        /// </summary>
        public string? scTotalJudge { get; set; }
        public string? ThicknessJudge { get; set; }

    }
}
